<?php

$config = array(
     
    'change_image_validation' => array(array(
                            'field'=>'url_image',
                            'label'=>'Url_image',
                            'rules'=>'required|trim|xss_clean'
                    ),
                                                    array(
                            'field'=>'thutu',
                            'label'=>'Thutu',
                            'rules'=>'required|trim|xss_clean'
                    ),
                                                    array(
                            'field'=>'trangthai',
                            'label'=>'Trangthai',
                            'rules'=>'required|trim|xss_clean'
                    ))
                
			   
				,

				'change_image' => array(array(
                                	'field'=>'url_image',
                                	'label'=>'Url_image',
                                	'rules'=>'trim|xss_clean'
                                ),
								array(
                                	'field'=>'thutu',
                                	'label'=>'Thutu',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'trangthai',
                                	'label'=>'Trangthai',
                                	'rules'=>'required|trim|xss_clean'
                                ))
			   
			   
				,

				'chungloai' => array(array(
                                	'field'=>'ten_chung_loai',
                                	'label'=>'Ten_chung_loai',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'thu_tu',
                                	'label'=>'Thu_tu',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'AnHien',
                                	'label'=>'AnHien',
                                	'rules'=>'required|trim|xss_clean'
                                ))
			   
			   
				,

				'chitiet_donhang' => array(array(
                                	'field'=>'iddh',
                                	'label'=>'Iddh',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'idsanpham',
                                	'label'=>'Idsanpham',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'soluong',
                                	'label'=>'Soluong',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'gia',
                                	'label'=>'Gia',
                                	'rules'=>'required|trim|xss_clean'
                                ))
			   
			   
				,

				'donhang' => array(array(
                                	'field'=>'idUser',
                                	'label'=>'IdUser',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'thoidiemdathang',
                                	'label'=>'Thoidiemdathang',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'thoidiemgiaohang',
                                	'label'=>'Thoidiemgiaohang',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'tennguoinhan',
                                	'label'=>'Tennguoinhan',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'tinhtrang',
                                	'label'=>'Tinhtrang',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'ghichu',
                                	'label'=>'Ghichu',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'diachi_giaohang',
                                	'label'=>'Diachi_giaohang',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'sdt_nguoinhan',
                                	'label'=>'Sdt_nguoinhan',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'email_nguoinhan',
                                	'label'=>'Email_nguoinhan',
                                	'rules'=>'required|trim|valid_email|xss_clean'
                                ))
			   
			   
				,

				'contact' => array(array(
                                	'field'=>'contactname',
                                	'label'=>'Contactname',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'contactaddress',
                                	'label'=>'Contactaddress',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'contactphone',
                                	'label'=>'Contactphone',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'contactemail',
                                	'label'=>'Contactemail',
                                	'rules'=>'required|trim|valid_email|xss_clean'
                                ),
								array(
                                	'field'=>'contactwebsite',
                                	'label'=>'Contactwebsite',
                                	'rules'=>'required|trim|xss_clean'
                                ))
			   
			   
				,

				'gioithieu' => array(array(
                                	'field'=>'noidung',
                                	'label'=>'Noidung',
                                	'rules'=>'required|trim|xss_clean'
                                ))
			   
			   
				,

				'kich_co' => array(array(
                                	'field'=>'mo_ta',
                                	'label'=>'Mo_ta',
                                	'rules'=>'required|trim|xss_clean'
                                ))
			   
			   
				,

				'lienket' => array(array(
                                	'field'=>'Ten',
                                	'label'=>'Ten',
                                	'rules'=>'required|trim|xss_clean'
                                )),
								array(
                                	'field'=>'url',
                                	'label'=>'Url',
                                	'rules'=>'required|trim|xss_clean'
                                ),
				'loaisp' => array(array(
                                	'field'=>'ma_chung_loai',
                                	'label'=>'Ma_chung_loai',
                                	'rules'=>'required|trim|xss_clean'
                                ),array(
                                	'field'=>'ten_loai',
                                	'label'=>'Ten_loai',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'avartarurl',
                                	'label'=>'Avartarurl',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'hien_thi',
                                	'label'=>'Hien_thi',
                                	'rules'=>'required|trim|xss_clean'
                                ))
			   
			   
				,

				'mausac' => array(array(
                                	'field'=>'ten_mau',
                                	'label'=>'Ten_mau',
                                	'rules'=>'required|trim|xss_clean'
                                ))
			   
			   
				,

				'sanpham' => array(array(
                                	'field'=>'ma_sp',
                                	'label'=>'Ma_sp',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'maloaisp',
                                	'label'=>'Maloaisp',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'ten_sp',
                                	'label'=>'Ten_sp',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'gia',
                                	'label'=>'Gia',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'gioithieu_sp',
                                	'label'=>'Gioithieu_sp',
                                	'rules'=>'required|trim|xss_clean'
                                ),
					array(
                                	'field'=>'soluong_sp',
                                	'label'=>'Soluong_sp',
                                	'rules'=>'required|trim|xss_clean'
                                ),
                                    array(
                                	'field'=>'sp_xuhuong',
                                	'label'=>'Sp_xuhuong',
                                	'rules'=>'required|trim|xss_clean'
                                ))
			   
			   
				,

				'sanpham_sukien' => array(array(
                                	'field'=>'masukien',
                                	'label'=>'Masukien',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'sanpham_id',
                                	'label'=>'Sanpham_id',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'giam_gia',
                                	'label'=>'Giam_gia',
                                	'rules'=>'required|trim|xss_clean'
                                ))
			   
			   
				,

				'sukien' => array(array(
                                	'field'=>'tensukien',
                                	'label'=>'Tensukien',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'noidung_tomtat',
                                	'label'=>'Noidung_tomtat',
                                	'rules'=>'xss_clean'
                                ),
								array(
                                	'field'=>'noidungchinh',
                                	'label'=>'Noidungchinh',
                                	'rules'=>'xss_clean'
                                ),
								array(
                                	'field'=>'kich_hoat',
                                	'label'=>'Kich_hoat',
                                	'rules'=>'required|trim|xss_clean'
                                ))
			   
			   
				,

				'user' => array(array(
                                	'field'=>'username',
                                	'label'=>'Username',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'password',
                                	'label'=>'Password',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'email',
                                	'label'=>'Email',
                                	'rules'=>'required|trim|valid_email|xss_clean'
                                ),
								array(
                                	'field'=>'createdate',
                                	'label'=>'Createdate',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'question',
                                	'label'=>'Question',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'avartar',
                                	'label'=>'Avartar',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'usertype',
                                	'label'=>'Usertype',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'address',
                                	'label'=>'Address',
                                	'rules'=>'required|trim|xss_clean'
                                ))
			   
			   
				,

				'usertype' => array(array(
                                	'field'=>'typename',
                                	'label'=>'Typename',
                                	'rules'=>'required|trim|xss_clean'
                                ))
			   );
			   
?>